home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / NULCABLE.ZIP / NULCABLE.TXT
Text File  |  1991-01-19  |  10KB  |  220 lines

  1.  
  2.  
  3.  
  4.  
  5. Here's how to construct a null modem cable, used to connect 2 PC's by their
  6. serial ports.  This allows you to transfer files from one PC to another at up
  7. to 115,200 baud, providing a fast and easy way to transfer files which are
  8. too large to fit on diskettes, or solving the problem of transfers when 2
  9. PC's have incompatible disk drives.  A suitable cable can be purchased
  10. already made, or you can make one yourself.  In addition, you will need some
  11. type of software to manage the job.  There are commercial packages out there
  12. (LapLink and FastLynx are 2 examples), or you can get the appropriate
  13. software through shareware sources, or free one from other sources.  One such
  14. program is PC Magazine's ZCOPY, available from their sources, or as printed
  15. in PC Magazine, February 28, 1989 issue.
  16.  
  17.  
  18.  
  19. It's probably about the same price, and less fuss to buy the proper cable
  20. from a decent computer shop.  If your like me, however, you like making your
  21. own.
  22.  
  23. All the necessary parts are available at Radio Shack or a similar store. I
  24. paid about $13 for all that was needed at Radio Shack. Additionally,  you
  25. will need:
  26.  
  27.      Electrical or similar tape. Helps.
  28.      Small blade or phillips screwdriver (for the connector you buy)        
  29.      Tweezers or forceps
  30.      Sharp knife or wire stripper
  31.      Soldering iron & solder (if using the solder type)
  32.      Connector Crimping Tool (for AMP brand connectors)
  33.      Wire cutters
  34.  
  35. Eight or nine conductor cable works well, and allows for addition of
  36. connections if they should be needed in the future. To use the crimp type
  37. connections, you need the tool to crimp the pins onto the wires.  If you plan
  38. on making several cable in your lifetime, then the tool is well worth it. 
  39. Otherwise, you're probably better off paying someone else to make it.  Scout
  40. your local electronics store.  I've had good results with the connectors from
  41. made by AMP, sold by your finer electronics stores.  Also, Belden cable is
  42. some of the best stuff to buy, if your retailer sells it.
  43.  
  44. If the computers you are connecting have 9 pin serial connectors, you need
  45. the female (with holes) connectors on both ends of your cable. (IBM's and
  46. compatibles have male connectors for their 9 pin serial ports). If yours are
  47. female, make sure the connector is not a video connector instead of a serial
  48. port connector.  25 pin COM ports on IBM's and clones are typically male,
  49. also.  Whether you make a cable with 9 pin or 25 pin connectors (or one at
  50. each end), pre-made adapters can be purchased to convert from 9 pin to 25
  51. pin, and vice versa.  I made all mine with 9 pin ends, and use 9 pin to 25
  52. pin adapters with good results.
  53.  
  54.  
  55. TIP: Buy enough cable! As long as you're making it, make a length of about 8
  56. or 10 feet. I've made cables, when using shield, about 35' in length 
  57. with no problems. Better a little too long than too short. Avoid excess length,
  58. however. 
  59.  
  60. TIP: If you end up with Radio Shack parts, wrap electrical tape around the
  61. cable at each end to fit underneath the connector.  The connectors and cable
  62. at Radio Shack don't fit real snug together, allowing the cable to slip out
  63. and put stress on the electrical connections.  You'll see what I mean when
  64. you are closing the connector together.
  65.  
  66. TIP: If you are using Radio Shack cable, try to use the shield (the braided
  67. wire around the outside of the cable as the ground connection.  This task is
  68. made easier if you use Belden cable - it comes with a wire that runs along
  69. the shield, which is foil instead of that crummy braided wire.  By using the
  70. shielded part of the cable as the ground connection, it helps protect from
  71. electrical noise.  This is more important with longer cables.
  72.         **************************************************************      
  73.               The following is part of the docs for FastLynx:               
  74.  
  75.  
  76.  
  77. -------------------------- Cable Specifications ----------------------------
  78. Following is a description of the pin connections for a FastLynx 7-wire
  79. serial cable.  The cable is a 4-headed cable with a 9-pin and 25-pin female
  80. connector on both ends.  The cable is wired as follows:
  81.  
  82.     9 pin   25 pin          25 pin  9 pin
  83.     -----   ------          ------  -----
  84.     pin 5   pin 7   <---->  pin 7   pin 5   (Ground - Ground)
  85.  
  86.     pin 3   pin 2   <---->  pin 3   pin 2   (Transmit - Receive)
  87.     pin 7   pin 4   <---->  pin 5   pin 8   (RTS - CTS)
  88.     pin 6   pin 6   <---->  pin 20  pin 4   (DSR - DTR)
  89.  
  90.     pin 2   pin 3   <---->  pin 2   pin 3   (Receive - Transmit)
  91.     pin 8   pin 5   <---->  pin 4   pin 7   (CTS - RTS)
  92.     pin 4   pin 20  <---->  pin 6   pin 6   (DTR - DSR)
  93.  
  94. The ground wire is connected to the same pin on both ends.  The last three
  95. wires are a reverse of the prior three.
  96.  
  97. Following is a description of the pin connections for a FastLynx parallel
  98. cable.  The cable has a male DB25 connector at both ends.
  99.  
  100.             25 pin          25 pin
  101.             ------          ------
  102.             pin 2   <---->  pin 15
  103.             pin 3   <---->  pin 13
  104.             pin 4   <---->  pin 12
  105.             pin 5   <---->  pin 10
  106.             pin 6   <---->  pin 11
  107.  
  108.             pin 15  <---->  pin 2
  109.             pin 13  <---->  pin 3
  110.             pin 12  <---->  pin 4
  111.             pin 10  <---->  pin 5
  112.             pin 11  <---->  pin 6
  113.  
  114.             pin 25  <---->  pin 25
  115.  
  116. The second set of 5 wires is the reverse of the first set.
  117.  
  118.      ******************************************************************
  119.      The following cable will allow transfers using LapLink III.  However, it
  120. doesn't support the feature of installing the software from the remote.  The
  121. FastLynx cable above does work with all the features of FastLynx.  The
  122. following cable merely transmits and receives data.  It cheats by jumping
  123. connections at each end to trick the computer into thinking it's connected to
  124. another computer.  The FastLynx cable above allows the 2 PC's to actually
  125. communicate.  However, I haven't gotten LapLink III to install software from
  126. remote with FastLynx's cable, either.  FastLynx does it just fine when using
  127. a FastLynx type cable. Update 11/13/90: Uncle Heavy uploaded diagrams to make
  128. a true Laplink III cable. The instructions are identical to the FastLynx cable.
  129.  
  130.  
  131.                             IMPORTANT! See *
  132.                                     │
  133.                                     │
  134. Connector 1                         │                         Connector 2 
  135. -----------                         V                         -----------
  136. Transmit Data  2 <================\  /-------------------> 2  Transmit Data 
  137.                                         \/ 
  138. Receive Data   3 <-----------------/\====================> 3  Receive Data  
  139.              
  140. RTS            4 <─────┐                           ┌─────> 4  RTS           
  141.                        │                           │
  142. CTS            5 <─────┤                           ├─────> 5  CTS           
  143.                        │                           │
  144. DSR            6 <═════╪════╗                 ╔════╪═════> 6  DSR           
  145.                        │    ║                 ║    │
  146. Ground         7 <-----│----║-----------------║----│-----> 7  Ground        
  147.                        │    ║                 ║    │
  148. CD             8 <─────┘    ║                 ║    └─────> 8  CD            
  149.                             ║ See         See ║
  150. DTR            20 <═════════╝ **           ** ╚═════════> 20  DTR
  151.  
  152.  
  153. Explanation:
  154. ------------
  155.  
  156. *Connect pin #2 of one connector to pin #3 at the other end. This is known as
  157. a "pin 2 to 3 crossover". That way one computer receives what the other is
  158. transmitting.
  159.  
  160. At each end, connect pins #4, #5, & #8 together. 
  161.  
  162. Also at each end, connect pins #6 & #20.   
  163. ** If you are using a nine pin connector, this connection is not needed as
  164. there is no pin #20. A connection to pin #6 is not needed.           
  165.  
  166. TIP: Before you get too far, cut off about 3/4 inch of cable off one end of
  167. your length of cable. Then, strip the insulation and foil from this piece or
  168. use tweezers or forceps to remove the 9 wires from inside. Strip the
  169. insulation off both ends of 4 of these wires, 6 if making a 25 pin connector
  170. cable. These short pieces of wire will be needed to make the jumpers at each
  171. connector. Twist one end of each of 2 wires together, and solder them both
  172. pin #5. Then one wire can go to pin #4, and the other to pin #8 as in the
  173. diagram.
  174.  
  175. In case you want to know:
  176. -------------------------
  177. TD  =  Transmit Data
  178. RD  =  Receive Data
  179. RTS =  Request To Send
  180. CTS =  Clear To Send
  181. DSR =  Data Set Ready
  182. CD  =  Carrier Detect
  183. DTR =  Data Terminal Ready
  184.  
  185.  
  186.  
  187.  
  188. I received instructions from a BBS one day on how to construct a null modem
  189. cable, and decided to add some comments of my own.  Then, I stumbled upon the
  190. FastLynx documentation.  I've made their cable, and it works quite well (at
  191. least the serial cable does.  I think I made the parallel cable a little
  192. long.  Back to the crimping tool!).  So, this text is a culmination of all
  193. three - the original file, my comments and ideas, and part of the FastLynx
  194. documentation.               -"Joe's Cat"
  195.  
  196.         **************************************************************
  197.         
  198. Following is part of the Laplink III documentation uploaded by "Uncle Heavy":
  199.  
  200. **************************************
  201.     PARALLEL HIGH-SPEED CABLE-
  202. *   SHORT DONKEY-D THAT IS USED
  203. *   WITH THE PRINTER END OF A
  204. *   PRINTER CABLE!
  205. *
  206. *           DB25    CENTRONICS
  207. *           MALE      FEMALE
  208. *          SHIELD --- SHIELD
  209. *            2 -------- 32
  210. *            3 -------- 13
  211. *            4 -------- 12
  212. *            5 -------- 10
  213. *            6 -------- 11
  214. *           10 --------- 5
  215. *           11 --------- 6
  216. *           12 --------- 4
  217. *           13 --------- 3
  218. *           15 --------- 2
  219. *           25 -------- 30
  220.